projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5e013a
)
garmin_txt: Fix abort on unknown columns.
author
oliskoli
<oliskoli>
Sun, 19 Aug 2007 20:11:59 +0000
(20:11 +0000)
committer
oliskoli
<oliskoli>
Sun, 19 Aug 2007 20:11:59 +0000
(20:11 +0000)
garmin_txt.c
patch
|
blob
|
history
diff --git
a/garmin_txt.c
b/garmin_txt.c
index 97f7716c91a8d19b4ebbb7960fd2612bf9722a78..0065130de39b7d41b28787d25f7a4b94350ff82a 100644
(file)
--- a/
garmin_txt.c
+++ b/
garmin_txt.c
@@
-1051,7
+1051,7
@@
bind_fields(const header_type ht)
c = fields;
field_no = 1;
- while (
c != NULL
) {
+ while (
*c
) {
if (strcmp(c, name) == 0) {
header_fields[ht][i] = field_no;
#if 0